﻿using System.Web;
using System.Web.Mvc;
using justice.Controllers;

namespace justice
{
    public class FilterConfig
    {
        public static void RegisterGlobalFilters(GlobalFilterCollection filters)
        {
            filters.Add(new HandleErrorAttribute());
            filters.Add(new MyAuthorizeAttribute() { IsCheck = true});
            filters.Add(new decideAttribute() { IsCheck = true });
        }
    }
}
